import $axios from '../index.js'

// 广告列表
function seoAccountList(data) {
  const url = '/seoAccount/lists'
  return $axios.get(url, data)
}
// 广告详情
function seoAccountInfo(data) {
  const url = '/seoAccount/info'
  return $axios.get(url, data)
}
// 广告添加
function seoAccountAdd(data) {
  const url = '/seoAccount/add'
  return $axios.post(url, data)
}
// 广告编辑
function seoAccountEdit(data) {
  const url = '/seoAccount/edit'
  return $axios.post(url, data)
}
// 广告删除
function seoAccountDel(data) {
  const url = '/seoAccount/del'
  return $axios.post(url, data)
}

export default {
  seoAccountList,
  seoAccountInfo,
  seoAccountAdd,
  seoAccountEdit,
  seoAccountDel
}
